[INFO] cloning repository https://github.com/takatori/rust-coin
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takatori/rust-coin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakatori%2Frust-coin", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakatori%2Frust-coin'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 93076f35aca5a0a5c849c8bfcbce0fa0c8c2386e
[INFO] building takatori/rust-coin against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakatori%2Frust-coin" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/takatori/rust-coin on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/takatori/rust-coin
[INFO] finished tweaking git repo https://github.com/takatori/rust-coin
[INFO] tweaked toml for git repo https://github.com/takatori/rust-coin written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/takatori/rust-coin already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e28c12475812eb7051a20cfbef91c9e86cfe724c925465510473b4af57c1be86
[INFO] running `Command { std: "docker" "start" "-a" "e28c12475812eb7051a20cfbef91c9e86cfe724c925465510473b4af57c1be86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e28c12475812eb7051a20cfbef91c9e86cfe724c925465510473b4af57c1be86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e28c12475812eb7051a20cfbef91c9e86cfe724c925465510473b4af57c1be86", kill_on_drop: false }`
[INFO] [stdout] e28c12475812eb7051a20cfbef91c9e86cfe724c925465510473b4af57c1be86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e0ac758e7b601e59fd6277f8335553719ec6ac622ab0e96cf30b4b8c3de8e4b2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e0ac758e7b601e59fd6277f8335553719ec6ac622ab0e96cf30b4b8c3de8e4b2", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures v0.1.16
[INFO] [stderr]    Compiling odds v0.2.25
[INFO] [stderr]    Compiling lazycell v0.5.1
[INFO] [stderr]    Compiling slab v0.3.0
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling serde v1.0.15
[INFO] [stderr]    Compiling percent-encoding v1.0.0
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling unicase v2.0.0
[INFO] [stderr]    Compiling serde_derive_internals v0.16.0
[INFO] [stderr]    Compiling mio v0.6.10
[INFO] [stderr]    Compiling nodrop v0.1.9
[INFO] [stderr]    Compiling generic-array v0.8.3
[INFO] [stderr]    Compiling digest v0.6.2
[INFO] [stderr]    Compiling block-buffer v0.2.0
[INFO] [stderr]    Compiling mime v0.3.3
[INFO] [stderr]    Compiling sha2 v0.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.15
[INFO] [stderr]    Compiling tokio-io v0.1.3
[INFO] [stderr]    Compiling tokio-service v0.1.0
[INFO] [stderr]    Compiling futures-cpupool v0.1.6
[INFO] [stderr]    Compiling tokio-core v0.1.9
[INFO] [stderr]    Compiling tokio-proto v0.1.1
[INFO] [stderr]    Compiling serde_json v1.0.3
[INFO] [stderr]    Compiling hyper v0.11.2
[INFO] [stderr]    Compiling rust-coin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `sha2::Sha256`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use sha2::Sha256;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `digest::Input`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use digest::Input;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hyper::header::ContentLength`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use hyper::header::ContentLength;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Http`
[INFO] [stdout]   --> src/main.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | use hyper::server::{Http, Request, Response, Service};
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let mut sha256 = Digest::new();
[INFO] [stdout]    |         ---------- consider giving `sha256` a type
[INFO] [stdout] 95 |     sha256.input_str(seed);
[INFO] [stdout]    |     ^^^^^^ cannot infer type
[INFO] [stdout]    |
[INFO] [stdout]    = note: type must be known at this point
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:153:23
[INFO] [stdout]     |
[INFO] [stdout] 153 |         block_chain = new_blocks;
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       expected struct `Vec`, found `&[Block]`
[INFO] [stdout]     |                       help: try using a conversion method: `new_blocks.to_vec()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<Block>`
[INFO] [stdout]             found reference `&[Block]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:161:57
[INFO] [stdout]     |
[INFO] [stdout] 161 | fn is_valid_chain(block_chain_to_validate: &[Block]) -> bool {
[INFO] [stdout]     |    --------------                                       ^^^^ expected `bool`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-coin`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "e0ac758e7b601e59fd6277f8335553719ec6ac622ab0e96cf30b4b8c3de8e4b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0ac758e7b601e59fd6277f8335553719ec6ac622ab0e96cf30b4b8c3de8e4b2", kill_on_drop: false }`
[INFO] [stdout] e0ac758e7b601e59fd6277f8335553719ec6ac622ab0e96cf30b4b8c3de8e4b2
